﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Demo
{
    class Randoms
    {
        Random r = new Random();
        public double GetRandomNumber(double minimun,double maximun,int len)
        {
            return Math.Round(r.NextDouble() * (maximun - minimun) + minimun, len);
        }
    }
}
